package com.chenfan.mcn.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chenfan.mcn.model.BusinessDataMoveLog;
import com.chenfan.mcn.model.dto.BusinessDataMoveLogQueryDTO;

/**
 * 业务数据转移服务接口
 *
 * @author wulg
 * @date 2021-10-19
 **/
public interface BusinessDataMoveService {

    /**
     *执行
     * @param log
     * @return
     */
    boolean execute(BusinessDataMoveLog log);

    /**
     * 查询转移日志
     * @param businessDataMoveLogQueryDTO
     * @return
     */
    Page<BusinessDataMoveLog> queryLogs(BusinessDataMoveLogQueryDTO businessDataMoveLogQueryDTO);
}
